package com.wiz.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.wiz.mapper.CloseHistoryMapper;
import com.wiz.service.CloseHistoryService;
import com.wiz.to.CloseHistoryTO;
import com.wiz.vo.criteria.DataSearchCriteriaTO;

@Service("closeHistoryService")
public class CloseHistoryServiceImpl implements CloseHistoryService {
	private transient final Logger log = LoggerFactory.getLogger(getClass());

	@Resource
	private CloseHistoryMapper closeHistoryMapper;

	@Override
	public List<CloseHistoryTO> getCloseHistorys(DataSearchCriteriaTO searchCriteria){
		return closeHistoryMapper.getChargeHistorys(searchCriteria);
	}

	@Override
	public int getCloseHistoryCnt(DataSearchCriteriaTO searchCriteria){
		return closeHistoryMapper.getChargeHistoryCnt(searchCriteria);
	}


	
}